<!doctype html>
<html>
{include file="head.html"}

<body>
 <div class="header" > <a  class="left-btn pointer" href="{$appymdian}"><span class="iconfont icon-back"></span></a>
  <div class="title">退货订单</div>
  <div class="right-btn" id="showSearch"><span class="iconfont icon-search"></span></div>
</div>
<div class="row">
  <div class="tabs-border i5">
    
    	<a href="{$appymdian}?m=kcback&status=0" class="item  {if get('status') eq 0}active{/if}">未确认</a>
        <a href="{$appymdian}?m=kcback&status=1" class="item  {if get('status') eq 1}active{/if}">待收货</a>
        <a href="{$appymdian}?m=kcback&status=2" class="item  {if get('status') eq 2}active{/if}">待完成</a>
        <a href="{$appymdian}?m=kcback&status=3" class="item  {if get('status') eq 3}active{/if}">已完成</a>
         <a href="{$appymdian}?m=kcback&status=10" class="item  {if get('status') eq 10}active{/if}">已取消</a>
    </div>
</div>
<div class="row">
<form method="get" action="{$appymdian}">
  <input type="hidden" name="m" value="kcback" />
  <input type="hidden" name="a" value="default" />
  <div class="pd-5" id="searchBox" style="display:none">
    <div class="input-row">
      <label >订单号</label>
      <input type="text" name="orderno" value="{$smarty.get.orderno}" />
    </div>
    <div class="input-row">
      <label>用户</label>
      <input type="text" name="nickname" value="{$smarty.get.nickname}" />
    </div>
    <div class="input-row">
      <select name="status" class="txt">
        <option value="-1">请选择状态</option>
        
{foreach item=c key=k from=$order_status_list}
{if $k lt 99}
        <option value="{$k}" {if $smarty.get.status eq $k} selected="selected" {/if}>{$c}</option>
        {/if}
{/foreach}

      </select>
    </div>
    <div class="form-btns">
      <button type="submit"   class="btn btn-warning btn-row" />
      搜索
      </button>
    </div>
  </div>
</form>
 
    {foreach item=c from=$data}
    <table class="kdtable">
    <tbody><tr onclick="window.location='{$appymdian}?m=kcback&a=show&order_id={$c.order_id}'">
      
      <td class="km">
      	<div class="pd">
      <div class="hd"> 
      	<span class="left">{$c.address}</span> 
      	<span class="right">订单号:{$c.orderno}</span> 
      </div>
        <div class="address"><span class="left">共<span class="cor1">{$c.num}</span>件 合计￥<span class="cor1">{$c.money}</span></span> <span class="right f16">{$c.shop_name}</span> </div>
        <div class="dateline">{$c.dateline|date:Y-m-d H:i:s}</div>
         
       
        </div></td>
      <td class="kr">&gt;</td>
    </tr>
  </tbody></table>
   
  </div>
 
  {/foreach}
  {$pagelist} 
<script language="javascript" src="/plugin/My97DatePicker/WdatePicker.js"></script> 
<script>
$(function(){
	
	$("#showSearch").on(CLICK,function(){
		$("#searchBox").toggle();
	});
	
})
</script> 
{assign var="botnav" value="kcback"}
{include file="footer.html"}
</body>
</html>